package cstxch616.recycleproject.acitivity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import cstxch616.recycleproject.R;

public class ZcActivity extends AppCompatActivity implements View.OnClickListener {
    private Button btn5;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.zcym);
        init();
    }
    private void init() {
        btn5 = (Button) findViewById(R.id.button5);
        btn5.setOnClickListener(this);
    }
    public void onClick(View v) {
        Intent intent = getIntent();
        switch (v.getId()) {
            case R.id.button5:
                Intent intent2 = new Intent(ZcActivity.this, loginActivity.class);
                startActivity(intent2);
                finish();
        }
    }
}
